package designMode.factory.abstractFactory.impl.wechat;

import designMode.factory.abstractFactory.OrderFactory;
import designMode.factory.abstractFactory.PayFactory;
import designMode.factory.abstractFactory.RefundFactory;

/**
 * @Author 肖地洋
 * @Date 2022/8/13 11:27
 */
public class WechatOrderFactory implements OrderFactory {
    @Override
    public PayFactory creatPayFactory() {
        return new WechatPayFactory();
    }

    @Override
    public RefundFactory creatRefundFactory() {
        return new WechatRefundFactoty();
    }
}
